package dongshi.daddy.adaptive.useinsubcls;

//@Adaptive
public class ConcreteUseInSubClsInterface1 implements UseInSubClsInterface {
    private UseInSubClsInterface concreteUseInSubClsInterface2;

    public UseInSubClsInterface getConcreteUseInSubClsInterface2() {
        return concreteUseInSubClsInterface2;
    }

    public void setConcreteUseInSubClsInterface2(UseInSubClsInterface concreteUseInSubClsInterface2) {
        this.concreteUseInSubClsInterface2 = concreteUseInSubClsInterface2;
    }

    @Override
    public void sayHi(String word) {
        System.out.println("ConcreteUseInSubClsInterface1 say hi: " + word);
    }
}
